import Vue from 'vue'
import App from '@/App.vue'
import router from '@/router'
import store from '@/store'
import '@/permission'

import '@/styles/index.scss'

import Vant from 'vant'
import 'vant/lib/index.less'

import bus from '@/utils/bus'

Vue.use(Vant).use(bus)

import 'amfe-flexible'

import * as echarts from 'echarts'
Vue.prototype.$echarts = echarts

import * as moment from 'moment'
Vue.prototype.$moment = moment

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
